package yc.star.job.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import yc.star.job.domain.message.Message;
import yc.star.job.mapper.MessageMapper;
import yc.star.job.service.IMessageService;

import java.util.List;

@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper,Message> implements IMessageService {

    @Override
    public boolean batchInsert(List<Message> messageTextList) {
        return saveBatch(messageTextList);
    }

}